Firewall
2013/07/03 |
[1] | If iptables in the server is unnecessarry (for example because some firewall is allready running in your LAN ), then stop it. |
[root@localhost ~]# systemctl stop firewalld.service [ 708.149082] Ebtables v2.0 unregistered [root@localhost ~]# systemctl disable firewalld.service rm '/etc/systemd/system/basic.target.wants/firewalld.service' rm '/etc/systemd/system/dbus-org.fedoraproject.FirewallD1.service' |
SELinux
|
[2] | Disable SELinux (Security-Enhanced Linux) if you don't need it. |
[root@localhost ~]#
# This file controls the state of SELinux on the system.vi /etc/sysconfig/selinux # SELINUX= can take one of these three values: # enforcing - SELinux security policy is enforced. # permissive - SELinux prints warnings instead of enforcing. # disabled - SELinux is fully disabled. SELINUX= disabled # change # SELINUXTYPE= type of policy in use. Possible values are: # targeted - Only targeted network daemons are protected. # strict - Full SELinux protection. SELINUXTYPE=targeted |